<?php
/**
 * Created by PhpStorm.
 * User: micoy
 * Date: 2018/12/14
 * Time: 1:30
 */

namespace app\index\controller;

use think\Controller;
use think\Db;

class LinkController extends Controller {

    // 获得链接列表
    public function GetList() {

        return Success('', Db::table('link')->select());

    }

}